#-------------------------------------------------
#
# Project created by QtCreator 2013-06-20T20:31:40
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = cbs-framework
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp \
    utils/printable.cpp \
    utils/clonable.cpp \
    utils/logging/logmanager.cpp \
    utils/logging/logger.cpp \
    utils/visitor/visitable.cpp \
    utils/visitor/visitor.cpp \
    cbs/constraints/constraint.cpp \
    cbs/model.cpp \
    cbs/minizinc/minizinccodegenerator.cpp \
    cbs/task.cpp \
    cbs/resource.cpp \
    cbs/constraints/taskconstraint.cpp \
    cbs/constraints/resourceconstraint.cpp \
    cbs/constraints/tasklenghtconstraint.cpp \
    utils/connector/connector.cpp \
    utils/connector/xmlconnector.cpp \
    cbs/connector/xmlmodelconnector.cpp \
    cbs/constraints/tasktimewindowconstraint.cpp \
    cbs/factory/taskfactory.cpp \
    cbs/factory/resourcefactory.cpp \
    cbs/factory/taskconstraintfactory.cpp \
    cbs/factory/resourceconstraintfactory.cpp \
    cbs/constraints/resourcecapacityconstraint.cpp \
    cbs/constraints/taskresourcesneededconstraint.cpp \
    cbs/constraints/modelconstraint.cpp \
    cbs/constraints/modelallowidlesconstraint.cpp \
    cbs/factory/modelconstraintfactory.cpp \
    cbs/constraints/modelmaxtimeconstraint.cpp \
    cbs/constraints/modelprecedenceconstraint.cpp \
    cbs/factory/modelfactory.cpp

HEADERS  += mainwindow.h \
    utils/printable.h \
    utils/clonable.h \
    utils/logging/logmanager.h \
    utils/logging/logger.h \
    utils/visitor/visitable.h \
    utils/visitor/visitor.h \
    cbs/constraints/constraint.h \
    cbs/model.h \
    cbs/definitions.h \
    cbs/minizinc/minizinccodegenerator.h \
    cbs/task.h \
    cbs/resource.h \
    cbs/constraints/taskconstraint.h \
    cbs/constraints/resourceconstraint.h \
    cbs/constraints/tasklenghtconstraint.h \
    utils/connector/connector.h \
    utils/connector/xmlconnector.h \
    cbs/connector/xmlmodelconnector.h \
    cbs/constraints/tasktimewindowconstraint.h \
    cbs/factory/taskfactory.h \
    cbs/factory/resourcefactory.h \
    cbs/factory/taskconstraintfactory.h \
    cbs/factory/resourceconstraintfactory.h \
    cbs/constraints/resourcecapacityconstraint.h \
    cbs/constraints/taskresourcesneededconstraint.h \
    cbs/constraints/modelconstraint.h \
    cbs/constraints/modelallowidlesconstraint.h \
    cbs/factory/modelconstraintfactory.h \
    cbs/constraints/modelmaxtimeconstraint.h \
    cbs/constraints/modelprecedenceconstraint.h \
    cbs/factory/modelfactory.h

FORMS    += mainwindow.ui

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -llog4cpp

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

RESOURCES += \
    res.qrc
